<include file='Admin/Tpl/Public/nav.html' />
<script charset="utf-8" src="__PUBLIC__/Js/kindeditor-4.1.7/kindeditor-min.js"></script>
<script charset="utf-8" src="__PUBLIC__/Js/kindeditor-4.1.7/lang/zh_CN.js"></script>
<script type="text/javascript">
var editor;
KindEditor.ready(function(K) {
	editor = K.create('textarea[name="news_content"]', {
		resizeType : 1,
		allowPreviewEmoticons : false,
		allowImageUpload : true,
	});
});

function submitC(){
	 editor.sync();
}
</script>
<style>
.tr:nth-of-type(even){
	background:#D8F6FF;
}
</style>
<div class="page-content">
    <div class="container-fluid">
    	<br/>
        <ol class="breadcrumb default square rsaquo sm">
            <li><a href="index.html"><i class="fa fa-home"></i></a></li>
            <li><a href="#fakelink">Team In</a></li>
            <li><a href="__URL__/index">会议管理</a></li>
            <li class="active">类型添加</li>
        </ol>
        <div class="the-box full no-border">
            <div class="table-responsive">
                <div class="the-box">
            		<form id="ExampleBootstrapValidationForm" method="post" action="__URL__/add_meeting" enctype="multipart/form-data">
                    	<fieldset>
                        <input type="hidden" name="news_category" value="<php>echo $_GET['category']</php>"/>
                            <div class="form-group">
                                <label>会议标题</label>
                                <input type="text" class="form-control must" type="text" name="news_title"/>
                            </div>
                            
                            
                            <div class="form-group">
                                <label>频道</label>
                                <select class="form-control" tabindex="2" name="audience_department">
                                    <volist name="rs.channel" id="val">
                                        <option value="{$val.channel_id}">
                                            {$val.channel_name}
                                        </option>
                                    </volist>
                                </select>
                            </div>
                            
                            <div class="form-group">
                                <label>排序</label>
                                <input class="form-control" type="text" name="news_sort" />
                            </div>
                            
                            <div class="form-group">
                                <label>缩略图</label>
                                <input class="form-control" type="file" name="news_image" />
                            </div>
                            
                            <div class="form-group">
                                <label>新闻正文</label>
                                <textarea rows="15" class="form-control" type="textarea" name="news_content"/></textarea>
                            </div>
                            
                            <div class="form-group">
                                <input class="btn btn-primary" id="submit" type="submit" value="提交" />
                            </div>
                        </fieldset>
                	</form>
                </div>
            </div>
        </div>
<div id="main-content" style="margin:10px; padding:10px; background:none">
	<div class="content-box">
        
	</div>
	<div class="clear"></div>
</div>
</body>
</html>
<script type="text/javascript">
$("body").css("background","none");
$("#body-wrapper").css("background","none");
function open_channel(){
	$.jBox.open("iframe:__APP__/Base/Channel/", "频道管理",600, 400, { buttons: { '关闭': true},closed: function () { window.location='__SELF__' }});
}
</script>